package com.tiemei.demo.unittest.junit;

import org.junit.Test;


public class ExpectedExceptinon {
	@Test(expected = ArithmeticException.class)  
	public void divisionWithException() {  
	  int i = 1/0;
	}  
}
